sf: dataflash: Move flash id detection into jedec_probe
authorJagan Teki <[email protected]>
Sun, 30 Oct 2016 17:46:28 +0000 (23:16 +0530)
committerJagan Teki <[email protected]>
Sat, 19 Nov 2016 03:11:53 +0000 (08:41 +0530)
commit1835302d3cb15ed67e06ee5e44fff1c611fbd467
tree2071f349a7cfd09e46fecbb7832d8ca42ee6908d
parentdc19b06ff23fb8f97e445f1c94dd5ae43046ea61
sf: dataflash: Move flash id detection into jedec_probe

Flash id detection should be the first step to enumerate
the connected flash on the board, once ie done checking
with respective id codes locally in the driver all this
should be part of jedec_probe instead of id detection and
validated through flash_info{} table separatly.

Cc: Bin Meng <[email protected]>
Cc: York Sun <[email protected]>
Signed-off-by: Jagan Teki <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Jagan Teki <[email protected]>
drivers/mtd/spi/sf_dataflash.c